//
//  LCThemeManager.m
//  LC
//
//  Created by admin on 16/12/16.
//  Copyright © 2016年 admin. All rights reserved.
//

#import "LCThemeManager.h"
#import "UIImage+Tint.h"

@implementation LCThemeManager

IMPLEMENTATION_SINGLETON(LCThemeManager)

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.mainColor = [UIColor colorWithRed:232/255.0 green:45/255.0 blue:51/255.0 alpha:1];
    }
    return self;
}

// 获取图片资源
- (UIImage *)imageNamed:(NSString *)name {
    return [[UIImage imageNamed:name] imageWithTintColor:self.mainColor];
}


@end
